package thread;

public class CurrentThreadDemo {
    public static void main(String[] args) {
        Thread main =Thread.currentThread();
        System.out.println(main);
        dosome();
    }
    public static void dosome(){
        Thread r = Thread.currentThread();
        System.out.println(r);
    }
}
